﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class 实验二_2_1_AdminPage : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (PreviousPage == null)
        {
            Response.Redirect("LoginPage.aspx");
        }
        if (PreviousPage.IsCrossPagePostBack)
        {
           TextBox s = (TextBox) PreviousPage.FindControl("TextBox1");
            Response.Write(s.Text);
        }
    }
}